/*
 * @Description: 本地存储语言
 * @Author: Chenx
 * @Date: 2023-04-12 10:47:25
 * @LastEditors: Chenx
 * @LastEditTime: 2023-04-12 10:47:50
 */
const languageKey = 'language'
export const getLanguage = (): string => {
  return localStorage.getItem(languageKey) as string
}
export const setLanguage = (language: string): void => {
  localStorage.setItem(languageKey, language)
}
